package com.sservice.commonBusiness.service;

import com.sservice.commonBusiness.e.Comment;
import com.sservice.commonBusiness.vo.CommentVo;

import java.util.List;

/**
 *
 * Created by byte_su@163.com on 2018/01/12.
 */
public interface CommentService  {

    /**
     * 列表
     *
     * @param commentVo
     * @return
     */
    List<CommentVo> page(CommentVo commentVo);

    /**
     * 统计
     *
     * @param commentVo
     * @return
     */
    Integer pageCount(CommentVo commentVo);

    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

}
